package com.linglan.modules.hospital.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.util.Date;

/**
 * 业务-医院表(BizHospital)表实体类
 *
 * @author makejava
 * @since 2025-05-05 20:05:57
 */
@SuppressWarnings("serial")
@TableName("biz_hospital")
public class BizHospital extends Model<BizHospital> {

    private Long id;
//医院名称
    private String name;
//医院地址
    private String address;
//纬度
    private Double lat;
//经度
    private Double lng;
//是否默认医院
    private Integer ifDefault;
//是否已删除
    private Integer isDeleted;
//创建时间
    private Date createdAt;
//更新时间
    private Date updatedAt;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public Double getLng() {
        return lng;
    }

    public void setLng(Double lng) {
        this.lng = lng;
    }

    public Integer getIfDefault() {
        return ifDefault;
    }

    public void setIfDefault(Integer ifDefault) {
        this.ifDefault = ifDefault;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    public Serializable pkVal() {
        return this.id;
    }
}

